Port to certain Android environments with no GUI
authorPo Lu <luangruo@yahoo.com>
Fri, 17 May 2024 11:21:05 +0000 (19:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 17 May 2024 11:21:29 +0000 (19:21 +0800)
commit1f08984a67c94e957bec7f8c59818b627a67427b
tree8bec1accc256c920c4dbed4c5e1d5912aea785f9
parent6ca3a60db3427bc6aef08144c1524920ff3d9c4d
Port to certain Android environments with no GUI

* configure.ac (USER_FULL_NAME): Define to
android_user_full_name only when a GUI system is being built.
Otherwise, set to pw->pw_gecos or NULL consistently with the
presence of pw->pw_gecos.

* src/editfns.c (Fuser_full_name): Adjust to match.  Accept NULL
values from USER_FULL_NAME.
configure.ac
src/editfns.c